mps_datacenter

Configuration for Site resource.

Read/write properties

cloud_region<String>

cloud_region.
Maximum length = 64

itm_radar_instance_id<String>

The Instance id of the target Netscaler in which the radar object will be deployed.
Maximum length = 64

longitude<Double>

longitude of the city.

type<Integer>

Datacenter type: Site/Datacenter.

itm_radar_rum<String>

ITM Radar RUM enumeration to enable or not.
Maximum length = 32

id<String>

Id is system generated key for all the system users.

cloud_vpc<String>

cloud_vpc.
Maximum length = 64

location<String>

Location Name.

region<String>

Name of the region.
Maximum length = 64

country<String>

Name of the country.
Maximum length = 32

itm_radar_region<String>

The public cloud region value for ITM Radat.
Maximum length = 64

name<String>

Datacentre Name.
Minimum length = 1
Maximum length = 128

itm_radar_url<String>

ITM Radar endpoint for an ADM site.

cloud_provider<String>

Cloud Provide.

zipcode<String>

Zipcode of location.
Maximum length = 32

city<String>

Name of the city.
Maximum length = 64

tenant_id<String>

Tenant ID.

latitude<Double>

latitude of the city.

application_name<String>

Application Name.

count_map<entity_map[]>

Count Map.

device_ip<String>

Device Ip.

Read only properties

total_events<Integer>

Total events city wise..

total_major_events<Integer>

Total major events..

total_number_of_devices<Integer>

Total number of devices deployed city wise...

total_critical_events<Integer>

Total Critical events city wise..

total_number_of_agents<Integer>

Total number of agents deployed city wise..

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

updateadddeleteget (all)get

update

URL:https://<MGMT-IP>/nitro/v2/config/mps_datacenter/id_value<String>

HTTPS Method:PUT

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"mps_datacenter":{
      "id":<String_value>,
      "country":<String_value>,
      "cloud_region":<String_value>,
      "itm_radar_instance_id":<String_value>,
      "location":<String_value>,
      "latitude":<Double_value>,
      "application_name":<String_value>,
      "count_map":[{
      "key":<String_value>,
      "value":<String_value>}]
,
      "type":<Integer_value>,
      "name":<String_value>,
      "tenant_id":<String_value>,
      "itm_radar_rum":<String_value>,
      "longitude":<Double_value>,
      "region":<String_value>,
      "itm_radar_region":<String_value>,
      "cloud_vpc":<String_value>,
      "cloud_provider":<String_value>,
      "itm_radar_url":<String_value>,
      "device_ip":<String_value>,
      "city":<String_value>,
      "zipcode":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mps_datacenter":[{
      "cloud_region":<String_value>,
      "itm_radar_instance_id":<String_value>,
      "customer_name":<String_value>,
      "longitude":<Double_value>,
      "type":<Integer_value>,
      "itm_radar_rum":<String_value>,
      "id":<String_value>,
      "cloud_vpc":<String_value>,
      "location":<String_value>,
      "region":<String_value>,
      "country":<String_value>,
      "itm_radar_region":<String_value>,
      "name":<String_value>,
      "is_default":<Boolean_value>,
      "itm_radar_url":<String_value>,
      "cloud_provider":<String_value>,
      "zipcode":<String_value>,
      "city":<String_value>,
      "tenant_id":<String_value>,
      "latitude":<Double_value>,
      "total_events":<Integer_value>,
      "total_major_events":<Integer_value>,
      "application_name":<String_value>,
      "count_map":[{
      "value":<String_value>,
      "key":<String_value>}],
      "total_number_of_devices":<Integer_value>,
      "total_critical_events":<Integer_value>,
      "device_ip":<String_value>,
      "total_number_of_agents":<Integer_value>}]}

add

URL:https://<MGMT-IP>/nitro/v2/config/mps_datacenter?onerror=<String_value>

HTTPS Method:POST

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"mps_datacenter": {
      "device_ip":<String_value>,
      "zipcode":<String_value>,
      "city":<String_value>,
      "cloud_provider":<String_value>,
      "itm_radar_url":<String_value>,
      "region":<String_value>,
      "itm_radar_region":<String_value>,
      "id":<String_value>,
      "cloud_vpc":<String_value>,
      "itm_radar_rum":<String_value>,
      "longitude":<Double_value>,
      "tenant_id":<String_value>,
      "name":<String_value>,
      "type":<Integer_value>,
      "latitude":<Double_value>,
      "application_name":<String_value>,
      "count_map":[{
      "key":<String_value>,
      "value":<String_value>}]
,
      "location":<String_value>,
      "cloud_region":<String_value>,
      "itm_radar_instance_id":<String_value>,
      "country":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mps_datacenter":[{
      "cloud_region":<String_value>,
      "itm_radar_instance_id":<String_value>,
      "customer_name":<String_value>,
      "longitude":<Double_value>,
      "type":<Integer_value>,
      "itm_radar_rum":<String_value>,
      "id":<String_value>,
      "cloud_vpc":<String_value>,
      "location":<String_value>,
      "region":<String_value>,
      "country":<String_value>,
      "itm_radar_region":<String_value>,
      "name":<String_value>,
      "is_default":<Boolean_value>,
      "itm_radar_url":<String_value>,
      "cloud_provider":<String_value>,
      "zipcode":<String_value>,
      "city":<String_value>,
      "tenant_id":<String_value>,
      "latitude":<Double_value>,
      "total_events":<Integer_value>,
      "total_major_events":<Integer_value>,
      "application_name":<String_value>,
      "count_map":[{
      "value":<String_value>,
      "key":<String_value>}],
      "total_number_of_devices":<Integer_value>,
      "total_critical_events":<Integer_value>,
      "device_ip":<String_value>,
      "total_number_of_agents":<Integer_value>}]}

delete

URL:https://<MGMT-IP>/nitro/v2/config/mps_datacenter/id_value<String>

HTTPS Method:DELETE

Request Headers:

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value> }

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/mps_datacenter

Query-parameters:

filter

https://<MGMT-IP>/nitro/v2/config/mps_datacenter?filter=property-name1:property-value1,property-name2:property-value2

Use this query-parameter to get the filtered set of mps_datacenter resources configured on the system. You can set a filter on any property of the resource.

pagesize=#no&pageno=#no

https://<MGMT-IP>/nitro/v2/config/mps_datacenter?pagesize=#no&pageno=#no

Use this query-parameter to get the mps_datacenter resources in chunks.

count

https://<MGMT-IP>/nitro/v2/config/mps_datacenter?count=yes

Use this query-parameter to get the count of mps_datacenter resources.

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mps_datacenter":[{
      "cloud_region":<String_value>,
      "itm_radar_instance_id":<String_value>,
      "customer_name":<String_value>,
      "longitude":<Double_value>,
      "type":<Integer_value>,
      "itm_radar_rum":<String_value>,
      "id":<String_value>,
      "cloud_vpc":<String_value>,
      "location":<String_value>,
      "region":<String_value>,
      "country":<String_value>,
      "itm_radar_region":<String_value>,
      "name":<String_value>,
      "is_default":<Boolean_value>,
      "itm_radar_url":<String_value>,
      "cloud_provider":<String_value>,
      "zipcode":<String_value>,
      "city":<String_value>,
      "tenant_id":<String_value>,
      "latitude":<Double_value>,
      "total_events":<Integer_value>,
      "total_major_events":<Integer_value>,
      "application_name":<String_value>,
      "count_map":[{
      "value":<String_value>,
      "key":<String_value>}],
      "total_number_of_devices":<Integer_value>,
      "total_critical_events":<Integer_value>,
      "device_ip":<String_value>,
      "total_number_of_agents":<Integer_value>}]}

get

URL:https://<MGMT-IP>/nitro/v2/config/mps_datacenter/id_value<String>

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mps_datacenter":[{
      "cloud_region":<String_value>,
      "itm_radar_instance_id":<String_value>,
      "customer_name":<String_value>,
      "longitude":<Double_value>,
      "type":<Integer_value>,
      "itm_radar_rum":<String_value>,
      "id":<String_value>,
      "cloud_vpc":<String_value>,
      "location":<String_value>,
      "region":<String_value>,
      "country":<String_value>,
      "itm_radar_region":<String_value>,
      "name":<String_value>,
      "is_default":<Boolean_value>,
      "itm_radar_url":<String_value>,
      "cloud_provider":<String_value>,
      "zipcode":<String_value>,
      "city":<String_value>,
      "tenant_id":<String_value>,
      "latitude":<Double_value>,
      "total_events":<Integer_value>,
      "total_major_events":<Integer_value>,
      "application_name":<String_value>,
      "count_map":[{
      "value":<String_value>,
      "key":<String_value>}],
      "total_number_of_devices":<Integer_value>,
      "total_critical_events":<Integer_value>,
      "device_ip":<String_value>,
      "total_number_of_agents":<Integer_value>}]}